package sctu.edu.java.year2016.team04.luoxinghua.day20160603.chapter10_3;

/**
 * Created by 落叶的思恋 on 2016/6/5.
 */

import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;
public class MapWork10_3 {
    public static void main(String[] args) {
        Map map=new HashMap();
        Scanner scan=new Scanner(System.in);
        System.out.println("你要输入的数据有几个");
        int n=scan.nextInt();

        for(int i=0;i<n;i++) {
            String str=scan.nextLine();
            int  str1=scan.nextInt();
           map.put(str1, str);
        }
   map.remove(005);

            System.out.println("数据=" + map);

    }
}
